-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executor Plugin: Improvements and fixes #776
Conversation
…hs are available instead of (non existing) item name references
…e functions. Now the plugin can be used immediately without having to wait for fetching the autocomplete dict.
…"id" were fetched wrongly
It looks fine, just go ahead and merge it. Thank you for the improvements! |
Maybe we can find a convenient way to deliver some sample skripts as well. Do you have an idea? Maybe a subdir within the plugin folder which will be merged into the list and that are readonly and colorized within the list? |
Including "standard" examples in a sub-dir sounds fine for me. Also the idea of putting them in the list with different color (grey?, maybe italic font?). Just the 3 examples from the documentation? |
executor/user_doc.rst
Outdated
@@ -16,7 +16,7 @@ executor | |||
Einführung | |||
~~~~~~~~~~ | |||
|
|||
Das executor plugin kann genutzt werden, um **Python Code** (z.B. für **Logiken**) und **eval Ausdrücke** zu testen. | |||
Das executor Plugin kann genutzt werden, um **Python Code** (z.B. für **Logiken**) und **eval Ausdrücke** zu testen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das mit den eval Ausdrücken kann raus, die sind ja im Admin Interface bereits implementiert.
@@ -197,7 +197,7 @@ def eval_statement(self, eline, path, reload=None): | |||
def exec_code(self, eline, reload=None): | |||
""" | |||
evaluate a whole python block in eline | |||
|
|||
:return: result of the evaluation | |||
""" | |||
result = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
der stub_logger müsste noch um neuere methoden wie notice etc. erweitert werden...
Major fix for autocomplete
Performance improvements (loading autocomplete takes 15s for me and blocked the webif..)
Sorting option for saved files